package com.myapp.web.aop;

import java.lang.reflect.Method;
import com.opensymphony.xwork2.util.logging.Logger;
import com.opensymphony.xwork2.util.logging.LoggerFactory;
import org.springframework.aop.ThrowsAdvice;

public class ActionExceptionAdvice implements ThrowsAdvice{
	
	private static final Logger logger = LoggerFactory.getLogger(ActionExceptionAdvice.class); 
	
	public void afterThrowing(Method method, Object[] args, Object target,Exception e)
	{
		System.out.println("afterThrowing");
		//logger.warn("exception :" + mi.getClass() + "," + mi.getMethod().getName(),e);
	}
}
